export default [
  {
    path: '/',
    component: '../layouts/SecurityLayout',
    routes: [
      {
        path: '/',
        component: '../layouts/BasicLayout',
        routes: [
          {
            path: '/',
            redirect: '/harbor',
          },
          //暂时屏蔽总览
          // {
          //   path: '/',
          //   redirect: '/dashboard',
          // },
          // {
          //   path: '/dashboard',
          //   name: '总览',
          //   icon: 'smile',
          //   component: './Dashboard',
          // },
          // {
          //   path: '/namespace',
          //   name: '命名空间',
          //   icon: 'smile',
          //   component: './NameSpace/index.jsx',
          // },
          {
            path: '/harbor',
            name: '我的镜像',
            icon: 'smile',
            component: './Harbor/index.jsx',
          },
          {
            path: '/publicHarbor',
            name: '公共镜像',
            icon: 'smile',
            component: './PublicHarbor/index.jsx',
          },
          {
            path: '/imageDetail',
            icon: 'smile',
            component: './ImageDetail/index.jsx',
          },
          {
            path: '/publicImageDetail',
            icon: 'smile',
            component: './ImageDetail/imagePublic.jsx',
          },
          {
            component: './404',
          },
        ],
      },
      {
        component: './404',
      },
    ],
  },
  {
    component: './404',
  },
];
